home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / shutdown.lzh / shutdown_5.1 / src / shutdown_lib / makefile next >
Makefile  |  1996-09-22  |  429b  |  22 lines

  1.  
  2. # from the libnixV1_1.lha archive (aminet):
  3. INCLUDE = -I/ADE/local/libnix/sources/headers
  4.  
  5. OBJS = /ADE/lib/libnix/libinit.o shutdown_library.o
  6. LIBS = -lamiga -lnix
  7. LIBFLAGS = -noixemul -nostdlib -fbaserel
  8.  
  9. all:    shutdown.library
  10.  
  11. .c.o:
  12.     gcc $(LIBFLAGS) $(INCLUDE) $*.c -c -o $*.o
  13.  
  14. shutdown.library: $(OBJS)
  15.     gcc $(LIBFLAGS) $(OBJS) -o $@ $(LIBS)
  16.  
  17. clean:
  18.     delete \#?.o libs:shutdown.library
  19.  
  20. install:
  21.     copy shutdown.library libs:
  22.